/**
 * $Id: StaffTestFixture.java 87 2012-12-28 09:10:08Z Denis.Skalsky@gmail.com $
 */
package com.globallogic.skalskyy.javabasic.valstaff;

import org.junit.BeforeClass;

public class StaffTestFixture {
	
	protected static Staff staff = Staff.getInstance();
	
	protected static SoftwareEngineer DenysSkalskyy;
	protected static SoftwareEngineer SergiiSyabruk;
	protected static TestEngineer NastyaLogvinova;
	protected static TestEngineer DenysKorablev;
	
	protected static int countOfEmployee;
	
	@BeforeClass
	public static void initStaff() {
		staff.clear();
		
		DenysSkalskyy = new SoftwareEngineer();
		DenysSkalskyy.setFirstName("Denys");
		DenysSkalskyy.setSecondName("Skalskyy");
		DenysSkalskyy.setPosition("senior software engineer");
		DenysSkalskyy.setDateOfBirth("16 September");
		DenysSkalskyy.setLanguage("java");
		
		SergiiSyabruk = new SoftwareEngineer();
		SergiiSyabruk.setFirstName("Sergii");
		SergiiSyabruk.setSecondName("Syabruk");
		SergiiSyabruk.setPosition("middle software engineer");
		SergiiSyabruk.setDateOfBirth("25 December");
		SergiiSyabruk.setLanguage("java");
		
		NastyaLogvinova = new TestEngineer();
		NastyaLogvinova.setFirstName("Nastya");
		NastyaLogvinova.setSecondName("Logvinova");
		NastyaLogvinova.setPosition("QA lead engineer");
		NastyaLogvinova.setDateOfBirth("1 May");
		NastyaLogvinova.setType("automation");
		
		DenysKorablev = new TestEngineer();
		DenysKorablev.setFirstName("Denys");
		DenysKorablev.setSecondName("Korablev");
		DenysKorablev.setPosition("QA lead engineer");
		DenysKorablev.setDateOfBirth("11 April");
		DenysKorablev.setType("manual");
		
        staff.add(DenysSkalskyy);
		staff.add(SergiiSyabruk);
		staff.add(NastyaLogvinova);
		staff.add(DenysKorablev);			
		countOfEmployee = 4;
	}
}